/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.third.daikai.fanyun.dto.order;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.third.daikai.fanyun.dto.payee.FyPayeeDTO;

import java.io.Serializable;
import java.util.List;

/**
 * @BelongsPackage: org.jeecg.modules.third.daikai.fanyun.dto.order
 * @Author: duanlikao
 * @CreateTime: 2023-02-07 16:40
 * @Description:
 * @Version: 1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class FyOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private String  originalOrderNumber ;//客户单号 "KH10001",
    private String  orderNumber ;
    private String  businessType  = "干线普货运输"; //业务类型 可选值 : 干线普货运输, 城市配送, 农村配送, 集装箱运输, 其他 ,

    private long   openTime;//开单时间。可选 秒级时间戳（例：1631584850） 1604970800,
    private long   deliveryTime ; // 提货时间。可选 秒级时间戳（例：1631584850） 1604980800,

    /**
     * 预约送达时间
     */
    private long   appointArriveTime ;
    private int   deliveryType = 2 ;//提送类型。1：自提；2：送货
    private String  startAddress ;//  "浙江省滨江区滨文路100号",
    private String  endAddress ;// "浙江省西湖区计量大楼",

    private String  consignerName  ;// 发货人姓名 "金全",
    private String  consignerPhone ;//发货人电话 "13599229009",
    private String  consignerIdCard ;//发货人证件号  "110101199003071137",
    private FyAddressDTO consignerAddress ;


    private String  consigneeName ;// 收货人姓名 "李丽",
    private String  consigneePhone ;// 收货人电话 "13577229900",
    private String  consigneeIdCard ;//收货人证件号 可选 "110101199003076157",
    private FyAddressDTO consigneeAddress ;

    private  List<FyCargoListDTO> cargoList ;  //货物列表
    private  FyCarrierDTO carrier ;  //承运人

    private FyPayeeDTO payee ;
    private FyFreightInDTO freightIn ; //运单运费信息
    private List<String>   loadImages ;
    private List<String>  unloadImages ;

    private String  salesman ;//业务员 可选 "韩风",
    private String  salesmanPhone ;//业务员电话 可选   "15678102991",

    private int paymentCollect ;// 代收货款 可选 100,
    private int  receiptCount ;// 回单数 可选  1,

    private String  note1 ; //,
    private String  note2  ; //
    private String remarks ;//

}
